use :: libc;
extern "C" {
    pub type options;
    pub type cmds;
    pub type options_array_item;
    pub type options_entry;
    fn __ctype_b_loc() -> *mut *const u16;
    fn free(_: *mut libc::c_void);
    fn strcmp(_: *const i8, _: *const i8) -> i32;
    fn strncmp(_: *const i8, _: *const i8, _: u64) -> i32;
    fn strlen(_: *const i8) -> u64;
    fn strcasecmp(_: *const i8, _: *const i8) -> i32;
    fn strncasecmp(_: *const i8, _: *const i8, _: u64) -> i32;
    fn round(_: f64) -> f64;
    fn sscanf(_: *const i8, _: *const i8, _: ...) -> i32;
    fn strtonum(_: *const i8, _: i64, _: i64, _: *mut *const i8) -> i64;
    fn xcalloc(_: size_t, _: size_t) -> *mut libc::c_void;
    fn xstrndup(_: *const i8, _: size_t) -> *mut i8;
    fn xsnprintf(_: *mut i8, _: size_t, _: *const i8, _: ...) -> i32;
    fn options_get(_: *mut options, _: *const i8) -> *mut options_entry;
    fn options_array_first(_: *mut options_entry) -> *mut options_array_item;
    fn options_array_next(_: *mut options_array_item) -> *mut options_array_item;
    fn options_array_item_index(_: *mut options_array_item) -> u_int;
    fn options_array_item_value(_: *mut options_array_item) -> *mut options_value;
    fn log_debug(_: *const i8, _: ...);
}
pub type __u_char = u8;
pub type __u_short = u16;
pub type __u_int = u32;
pub type u_char = __u_char;
pub type u_short = __u_short;
pub type u_int = __u_int;
pub type size_t = u64;
pub type C2RustUnnamed = u32;
pub const _ISalnum: C2RustUnnamed = 8;
pub const _ISpunct: C2RustUnnamed = 4;
pub const _IScntrl: C2RustUnnamed = 2;
pub const _ISblank: C2RustUnnamed = 1;
pub const _ISgraph: C2RustUnnamed = 32768;
pub const _ISprint: C2RustUnnamed = 16384;
pub const _ISspace: C2RustUnnamed = 8192;
pub const _ISxdigit: C2RustUnnamed = 4096;
pub const _ISdigit: C2RustUnnamed = 2048;
pub const _ISalpha: C2RustUnnamed = 1024;
pub const _ISlower: C2RustUnnamed = 512;
pub const _ISupper: C2RustUnnamed = 256;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct grid_cell {
    pub data: utf8_data,
    pub attr: u_short,
    pub flags: u_char,
    pub fg: i32,
    pub bg: i32,
    pub us: i32,
    pub link: u_int,
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct utf8_data {
    pub data: [u_char; 21],
    pub have: u_char,
    pub size: u_char,
    pub width: u_char,
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct style {
    pub gc: grid_cell,
    pub ignore: i32,
    pub fill: i32,
    pub align: style_align,
    pub list: style_list,
    pub range_type: style_range_type,
    pub range_argument: u_int,
    pub range_string: [i8; 16],
    pub width: i32,
    pub pad: i32,
    pub default_type: style_default_type,
}
pub type style_default_type = u32;
pub const STYLE_DEFAULT_POP: style_default_type = 2;
pub const STYLE_DEFAULT_PUSH: style_default_type = 1;
pub const STYLE_DEFAULT_BASE: style_default_type = 0;
pub type style_range_type = u32;
pub const STYLE_RANGE_USER: style_range_type = 6;
pub const STYLE_RANGE_SESSION: style_range_type = 5;
pub const STYLE_RANGE_WINDOW: style_range_type = 4;
pub const STYLE_RANGE_PANE: style_range_type = 3;
pub const STYLE_RANGE_RIGHT: style_range_type = 2;
pub const STYLE_RANGE_LEFT: style_range_type = 1;
pub const STYLE_RANGE_NONE: style_range_type = 0;
pub type style_list = u32;
pub const STYLE_LIST_RIGHT_MARKER: style_list = 4;
pub const STYLE_LIST_LEFT_MARKER: style_list = 3;
pub const STYLE_LIST_FOCUS: style_list = 2;
pub const STYLE_LIST_ON: style_list = 1;
pub const STYLE_LIST_OFF: style_list = 0;
pub type style_align = u32;
pub const STYLE_ALIGN_ABSOLUTE_CENTRE: style_align = 4;
pub const STYLE_ALIGN_RIGHT: style_align = 3;
pub const STYLE_ALIGN_CENTRE: style_align = 2;
pub const STYLE_ALIGN_LEFT: style_align = 1;
pub const STYLE_ALIGN_DEFAULT: style_align = 0;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct colour_palette {
    pub fg: i32,
    pub bg: i32,
    pub palette: *mut i32,
    pub default_palette: *mut i32,
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct cmd_list {
    pub references: i32,
    pub group: u_int,
    pub list: *mut cmds,
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct options_array {
    pub rbh_root: *mut options_array_item,
}
#[derive(Copy, Clone)]
#[repr(C)]
pub union options_value {
    pub string: *mut i8,
    pub number: i64,
    pub style: style,
    pub array: options_array,
    pub cmdlist: *mut cmd_list,
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct C2RustUnnamed_0 {
    pub name: *const i8,
    pub c: i32,
}
extern "C" fn colour_dist_sq(
    mut R: i32,
    mut G: i32,
    mut B: i32,
    mut r: i32,
    mut g: i32,
    mut b: i32,
) -> i32 {
    return (R - r) * (R - r) + (G - g) * (G - g) + (B - b) * (B - b);
}
extern "C" fn colour_to_6cube(mut v: i32) -> i32 {
    if v < 48 as i32 {
        return 0 as i32;
    }
    if v < 114 as i32 {
        return 1 as i32;
    }
    return (v - 35 as i32) / 40 as i32;
}
#[no_mangle]
pub extern "C" fn colour_find_rgb(mut r: u_char, mut g: u_char, mut b: u_char) -> i32 {
    static mut q2c: [i32; 6] = [
        0 as i32,
        0x5f as i32,
        0x87 as i32,
        0xaf as i32,
        0xd7 as i32,
        0xff as i32,
    ];
    let mut qr: i32 = 0;
    let mut qg: i32 = 0;
    let mut qb: i32 = 0;
    let mut cr: i32 = 0;
    let mut cg: i32 = 0;
    let mut cb: i32 = 0;
    let mut d: i32 = 0;
    let mut idx: i32 = 0;
    let mut grey_avg: i32 = 0;
    let mut grey_idx: i32 = 0;
    let mut grey: i32 = 0;
    qr = colour_to_6cube(r as i32);
    cr = unsafe { q2c[qr as usize] };
    qg = colour_to_6cube(g as i32);
    cg = unsafe { q2c[qg as usize] };
    qb = colour_to_6cube(b as i32);
    cb = unsafe { q2c[qb as usize] };
    if cr == r as i32 && cg == g as i32 && cb == b as i32 {
        return 16 as i32 + 36 as i32 * qr + 6 as i32 * qg + qb | 0x1000000 as i32;
    }
    grey_avg = (r as i32 + g as i32 + b as i32) / 3 as i32;
    if grey_avg > 238 as i32 {
        grey_idx = 23 as i32;
    } else {
        grey_idx = (grey_avg - 3 as i32) / 10 as i32;
    }
    grey = 8 as i32 + 10 as i32 * grey_idx;
    d = colour_dist_sq(cr, cg, cb, r as i32, g as i32, b as i32);
    if colour_dist_sq(grey, grey, grey, r as i32, g as i32, b as i32) < d {
        idx = 232 as i32 + grey_idx;
    } else {
        idx = 16 as i32 + 36 as i32 * qr + 6 as i32 * qg + qb;
    }
    return idx | 0x1000000 as i32;
}
#[no_mangle]
pub extern "C" fn colour_join_rgb(mut r: u_char, mut g: u_char, mut b: u_char) -> i32 {
    return (r as i32 & 0xff as i32) << 16 as i32
        | (g as i32 & 0xff as i32) << 8 as i32
        | b as i32 & 0xff as i32
        | 0x2000000 as i32;
}
#[no_mangle]
pub extern "C" fn colour_split_rgb(
    mut c: i32,
    mut r: *mut u_char,
    mut g: *mut u_char,
    mut b: *mut u_char,
) {
    (unsafe { *r = (c >> 16 as i32 & 0xff as i32) as u_char });
    (unsafe { *g = (c >> 8 as i32 & 0xff as i32) as u_char });
    (unsafe { *b = (c & 0xff as i32) as u_char });
}
#[no_mangle]
pub extern "C" fn colour_force_rgb(mut c: i32) -> i32 {
    if c & 0x2000000 as i32 != 0 {
        return c;
    }
    if c & 0x1000000 as i32 != 0 {
        return colour_256toRGB(c);
    }
    if c >= 0 as i32 && c <= 7 as i32 {
        return colour_256toRGB(c);
    }
    if c >= 90 as i32 && c <= 97 as i32 {
        return colour_256toRGB(8 as i32 + c - 90 as i32);
    }
    return -(1 as i32);
}
#[no_mangle]
pub extern "C" fn colour_tostring(mut c: i32) -> *const i8 {
    static mut s: [i8; 32] = [0; 32];
    let mut r: u_char = 0;
    let mut g: u_char = 0;
    let mut b: u_char = 0;
    if c == -(1 as i32) {
        return b"none\0" as *const u8 as *const i8;
    }
    if c & 0x2000000 as i32 != 0 {
        colour_split_rgb(c, &mut r, &mut g, &mut b);
        (unsafe {
            xsnprintf(
                s.as_mut_ptr(),
                ::core::mem::size_of::<[i8; 32]>() as u64,
                b"#%02x%02x%02x\0" as *const u8 as *const i8,
                r as i32,
                g as i32,
                b as i32,
            )
        });
        return unsafe { s.as_mut_ptr() };
    }
    if c & 0x1000000 as i32 != 0 {
        (unsafe {
            xsnprintf(
                s.as_mut_ptr(),
                ::core::mem::size_of::<[i8; 32]>() as u64,
                b"colour%u\0" as *const u8 as *const i8,
                c & 0xff as i32,
            )
        });
        return unsafe { s.as_mut_ptr() };
    }
    match c {
        0 => return b"black\0" as *const u8 as *const i8,
        1 => return b"red\0" as *const u8 as *const i8,
        2 => return b"green\0" as *const u8 as *const i8,
        3 => return b"yellow\0" as *const u8 as *const i8,
        4 => return b"blue\0" as *const u8 as *const i8,
        5 => return b"magenta\0" as *const u8 as *const i8,
        6 => return b"cyan\0" as *const u8 as *const i8,
        7 => return b"white\0" as *const u8 as *const i8,
        8 => return b"default\0" as *const u8 as *const i8,
        9 => return b"terminal\0" as *const u8 as *const i8,
        90 => return b"brightblack\0" as *const u8 as *const i8,
        91 => return b"brightred\0" as *const u8 as *const i8,
        92 => return b"brightgreen\0" as *const u8 as *const i8,
        93 => return b"brightyellow\0" as *const u8 as *const i8,
        94 => return b"brightblue\0" as *const u8 as *const i8,
        95 => return b"brightmagenta\0" as *const u8 as *const i8,
        96 => return b"brightcyan\0" as *const u8 as *const i8,
        97 => return b"brightwhite\0" as *const u8 as *const i8,
        _ => {}
    }
    return b"invalid\0" as *const u8 as *const i8;
}
#[no_mangle]
pub extern "C" fn colour_fromstring(mut s: *const i8) -> i32 {
    let mut errstr: *const i8 = std::ptr::null::<i8>();
    let mut cp: *const i8 = std::ptr::null::<i8>();
    let mut n: i32 = 0;
    let mut r: u_char = 0;
    let mut g: u_char = 0;
    let mut b: u_char = 0;
    if (unsafe { *s }) as i32 == '#' as i32 && (unsafe { strlen(s) }) == 7 as i32 as u64 {
        cp = unsafe { s.offset(1 as i32 as isize) };
        while (unsafe { *(*__ctype_b_loc()).offset(*cp as u_char as i32 as isize) }) as i32
            & _ISxdigit as i32 as u16 as i32
            != 0
        {
            cp = unsafe { cp.offset(1) };
        }
        if (unsafe { *cp }) as i32 != '\0' as i32 {
            return -(1 as i32);
        }
        n = unsafe {
            sscanf(
                s.offset(1 as i32 as isize),
                b"%2hhx%2hhx%2hhx\0" as *const u8 as *const i8,
                &mut r as *mut u_char,
                &mut g as *mut u_char,
                &mut b as *mut u_char,
            )
        };
        if n != 3 as i32 {
            return -(1 as i32);
        }
        return colour_join_rgb(r, g, b);
    }
    if (unsafe {
        strncasecmp(
            s,
            b"colour\0" as *const u8 as *const i8,
            (::core::mem::size_of::<[i8; 7]>() as u64).wrapping_sub(1 as i32 as u64),
        )
    }) == 0 as i32
    {
        n = (unsafe {
            strtonum(
                s.offset(::core::mem::size_of::<[i8; 7]>() as u64 as isize)
                    .offset(-(1 as i32 as isize)),
                0 as i32 as i64,
                255 as i32 as i64,
                &mut errstr,
            )
        }) as i32;
        if !errstr.is_null() {
            return -(1 as i32);
        }
        return n | 0x1000000 as i32;
    }
    if (unsafe {
        strncasecmp(
            s,
            b"color\0" as *const u8 as *const i8,
            (::core::mem::size_of::<[i8; 6]>() as u64).wrapping_sub(1 as i32 as u64),
        )
    }) == 0 as i32
    {
        n = (unsafe {
            strtonum(
                s.offset(::core::mem::size_of::<[i8; 6]>() as u64 as isize)
                    .offset(-(1 as i32 as isize)),
                0 as i32 as i64,
                255 as i32 as i64,
                &mut errstr,
            )
        }) as i32;
        if !errstr.is_null() {
            return -(1 as i32);
        }
        return n | 0x1000000 as i32;
    }
    if (unsafe { strcasecmp(s, b"default\0" as *const u8 as *const i8) }) == 0 as i32 {
        return 8 as i32;
    }
    if (unsafe { strcasecmp(s, b"terminal\0" as *const u8 as *const i8) }) == 0 as i32 {
        return 9 as i32;
    }
    if (unsafe { strcasecmp(s, b"black\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"0\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 0 as i32;
    }
    if (unsafe { strcasecmp(s, b"red\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"1\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 1 as i32;
    }
    if (unsafe { strcasecmp(s, b"green\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"2\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 2 as i32;
    }
    if (unsafe { strcasecmp(s, b"yellow\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"3\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 3 as i32;
    }
    if (unsafe { strcasecmp(s, b"blue\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"4\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 4 as i32;
    }
    if (unsafe { strcasecmp(s, b"magenta\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"5\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 5 as i32;
    }
    if (unsafe { strcasecmp(s, b"cyan\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"6\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 6 as i32;
    }
    if (unsafe { strcasecmp(s, b"white\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"7\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 7 as i32;
    }
    if (unsafe { strcasecmp(s, b"brightblack\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"90\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 90 as i32;
    }
    if (unsafe { strcasecmp(s, b"brightred\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"91\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 91 as i32;
    }
    if (unsafe { strcasecmp(s, b"brightgreen\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"92\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 92 as i32;
    }
    if (unsafe { strcasecmp(s, b"brightyellow\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"93\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 93 as i32;
    }
    if (unsafe { strcasecmp(s, b"brightblue\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"94\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 94 as i32;
    }
    if (unsafe { strcasecmp(s, b"brightmagenta\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"95\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 95 as i32;
    }
    if (unsafe { strcasecmp(s, b"brightcyan\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"96\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 96 as i32;
    }
    if (unsafe { strcasecmp(s, b"brightwhite\0" as *const u8 as *const i8) }) == 0 as i32
        || (unsafe { strcmp(s, b"97\0" as *const u8 as *const i8) }) == 0 as i32
    {
        return 97 as i32;
    }
    return colour_byname(s);
}
#[no_mangle]
pub extern "C" fn colour_256toRGB(mut c: i32) -> i32 {
    static mut table: [i32; 256] = [
        0 as i32,
        0x800000 as i32,
        0x8000 as i32,
        0x808000 as i32,
        0x80 as i32,
        0x800080 as i32,
        0x8080 as i32,
        0xc0c0c0 as i32,
        0x808080 as i32,
        0xff0000 as i32,
        0xff00 as i32,
        0xffff00 as i32,
        0xff as i32,
        0xff00ff as i32,
        0xffff as i32,
        0xffffff as i32,
        0 as i32,
        0x5f as i32,
        0x87 as i32,
        0xaf as i32,
        0xd7 as i32,
        0xff as i32,
        0x5f00 as i32,
        0x5f5f as i32,
        0x5f87 as i32,
        0x5faf as i32,
        0x5fd7 as i32,
        0x5fff as i32,
        0x8700 as i32,
        0x875f as i32,
        0x8787 as i32,
        0x87af as i32,
        0x87d7 as i32,
        0x87ff as i32,
        0xaf00 as i32,
        0xaf5f as i32,
        0xaf87 as i32,
        0xafaf as i32,
        0xafd7 as i32,
        0xafff as i32,
        0xd700 as i32,
        0xd75f as i32,
        0xd787 as i32,
        0xd7af as i32,
        0xd7d7 as i32,
        0xd7ff as i32,
        0xff00 as i32,
        0xff5f as i32,
        0xff87 as i32,
        0xffaf as i32,
        0xffd7 as i32,
        0xffff as i32,
        0x5f0000 as i32,
        0x5f005f as i32,
        0x5f0087 as i32,
        0x5f00af as i32,
        0x5f00d7 as i32,
        0x5f00ff as i32,
        0x5f5f00 as i32,
        0x5f5f5f as i32,
        0x5f5f87 as i32,
        0x5f5faf as i32,
        0x5f5fd7 as i32,
        0x5f5fff as i32,
        0x5f8700 as i32,
        0x5f875f as i32,
        0x5f8787 as i32,
        0x5f87af as i32,
        0x5f87d7 as i32,
        0x5f87ff as i32,
        0x5faf00 as i32,
        0x5faf5f as i32,
        0x5faf87 as i32,
        0x5fafaf as i32,
        0x5fafd7 as i32,
        0x5fafff as i32,
        0x5fd700 as i32,
        0x5fd75f as i32,
        0x5fd787 as i32,
        0x5fd7af as i32,
        0x5fd7d7 as i32,
        0x5fd7ff as i32,
        0x5fff00 as i32,
        0x5fff5f as i32,
        0x5fff87 as i32,
        0x5fffaf as i32,
        0x5fffd7 as i32,
        0x5fffff as i32,
        0x870000 as i32,
        0x87005f as i32,
        0x870087 as i32,
        0x8700af as i32,
        0x8700d7 as i32,
        0x8700ff as i32,
        0x875f00 as i32,
        0x875f5f as i32,
        0x875f87 as i32,
        0x875faf as i32,
        0x875fd7 as i32,
        0x875fff as i32,
        0x878700 as i32,
        0x87875f as i32,
        0x878787 as i32,
        0x8787af as i32,
        0x8787d7 as i32,
        0x8787ff as i32,
        0x87af00 as i32,
        0x87af5f as i32,
        0x87af87 as i32,
        0x87afaf as i32,
        0x87afd7 as i32,
        0x87afff as i32,
        0x87d700 as i32,
        0x87d75f as i32,
        0x87d787 as i32,
        0x87d7af as i32,
        0x87d7d7 as i32,
        0x87d7ff as i32,
        0x87ff00 as i32,
        0x87ff5f as i32,
        0x87ff87 as i32,
        0x87ffaf as i32,
        0x87ffd7 as i32,
        0x87ffff as i32,
        0xaf0000 as i32,
        0xaf005f as i32,
        0xaf0087 as i32,
        0xaf00af as i32,
        0xaf00d7 as i32,
        0xaf00ff as i32,
        0xaf5f00 as i32,
        0xaf5f5f as i32,
        0xaf5f87 as i32,
        0xaf5faf as i32,
        0xaf5fd7 as i32,
        0xaf5fff as i32,
        0xaf8700 as i32,
        0xaf875f as i32,
        0xaf8787 as i32,
        0xaf87af as i32,
        0xaf87d7 as i32,
        0xaf87ff as i32,
        0xafaf00 as i32,
        0xafaf5f as i32,
        0xafaf87 as i32,
        0xafafaf as i32,
        0xafafd7 as i32,
        0xafafff as i32,
        0xafd700 as i32,
        0xafd75f as i32,
        0xafd787 as i32,
        0xafd7af as i32,
        0xafd7d7 as i32,
        0xafd7ff as i32,
        0xafff00 as i32,
        0xafff5f as i32,
        0xafff87 as i32,
        0xafffaf as i32,
        0xafffd7 as i32,
        0xafffff as i32,
        0xd70000 as i32,
        0xd7005f as i32,
        0xd70087 as i32,
        0xd700af as i32,
        0xd700d7 as i32,
        0xd700ff as i32,
        0xd75f00 as i32,
        0xd75f5f as i32,
        0xd75f87 as i32,
        0xd75faf as i32,
        0xd75fd7 as i32,
        0xd75fff as i32,
        0xd78700 as i32,
        0xd7875f as i32,
        0xd78787 as i32,
        0xd787af as i32,
        0xd787d7 as i32,
        0xd787ff as i32,
        0xd7af00 as i32,
        0xd7af5f as i32,
        0xd7af87 as i32,
        0xd7afaf as i32,
        0xd7afd7 as i32,
        0xd7afff as i32,
        0xd7d700 as i32,
        0xd7d75f as i32,
        0xd7d787 as i32,
        0xd7d7af as i32,
        0xd7d7d7 as i32,
        0xd7d7ff as i32,
        0xd7ff00 as i32,
        0xd7ff5f as i32,
        0xd7ff87 as i32,
        0xd7ffaf as i32,
        0xd7ffd7 as i32,
        0xd7ffff as i32,
        0xff0000 as i32,
        0xff005f as i32,
        0xff0087 as i32,
        0xff00af as i32,
        0xff00d7 as i32,
        0xff00ff as i32,
        0xff5f00 as i32,
        0xff5f5f as i32,
        0xff5f87 as i32,
        0xff5faf as i32,
        0xff5fd7 as i32,
        0xff5fff as i32,
        0xff8700 as i32,
        0xff875f as i32,
        0xff8787 as i32,
        0xff87af as i32,
        0xff87d7 as i32,
        0xff87ff as i32,
        0xffaf00 as i32,
        0xffaf5f as i32,
        0xffaf87 as i32,
        0xffafaf as i32,
        0xffafd7 as i32,
        0xffafff as i32,
        0xffd700 as i32,
        0xffd75f as i32,
        0xffd787 as i32,
        0xffd7af as i32,
        0xffd7d7 as i32,
        0xffd7ff as i32,
        0xffff00 as i32,
        0xffff5f as i32,
        0xffff87 as i32,
        0xffffaf as i32,
        0xffffd7 as i32,
        0xffffff as i32,
        0x80808 as i32,
        0x121212 as i32,
        0x1c1c1c as i32,
        0x262626 as i32,
        0x303030 as i32,
        0x3a3a3a as i32,
        0x444444 as i32,
        0x4e4e4e as i32,
        0x585858 as i32,
        0x626262 as i32,
        0x6c6c6c as i32,
        0x767676 as i32,
        0x808080 as i32,
        0x8a8a8a as i32,
        0x949494 as i32,
        0x9e9e9e as i32,
        0xa8a8a8 as i32,
        0xb2b2b2 as i32,
        0xbcbcbc as i32,
        0xc6c6c6 as i32,
        0xd0d0d0 as i32,
        0xdadada as i32,
        0xe4e4e4 as i32,
        0xeeeeee as i32,
    ];
    return (unsafe { table[(c & 0xff as i32) as usize] }) | 0x2000000 as i32;
}
#[no_mangle]
pub extern "C" fn colour_256to16(mut c: i32) -> i32 {
    static mut table: [i8; 256] = [
        0 as i32 as i8,
        1 as i32 as i8,
        2 as i32 as i8,
        3 as i32 as i8,
        4 as i32 as i8,
        5 as i32 as i8,
        6 as i32 as i8,
        7 as i32 as i8,
        8 as i32 as i8,
        9 as i32 as i8,
        10 as i32 as i8,
        11 as i32 as i8,
        12 as i32 as i8,
        13 as i32 as i8,
        14 as i32 as i8,
        15 as i32 as i8,
        0 as i32 as i8,
        4 as i32 as i8,
        4 as i32 as i8,
        4 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        2 as i32 as i8,
        6 as i32 as i8,
        4 as i32 as i8,
        4 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        2 as i32 as i8,
        2 as i32 as i8,
        6 as i32 as i8,
        4 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        2 as i32 as i8,
        2 as i32 as i8,
        2 as i32 as i8,
        6 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        14 as i32 as i8,
        12 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        14 as i32 as i8,
        1 as i32 as i8,
        5 as i32 as i8,
        4 as i32 as i8,
        4 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        3 as i32 as i8,
        8 as i32 as i8,
        4 as i32 as i8,
        4 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        2 as i32 as i8,
        2 as i32 as i8,
        6 as i32 as i8,
        4 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        2 as i32 as i8,
        2 as i32 as i8,
        2 as i32 as i8,
        6 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        14 as i32 as i8,
        12 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        14 as i32 as i8,
        1 as i32 as i8,
        1 as i32 as i8,
        5 as i32 as i8,
        4 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        1 as i32 as i8,
        1 as i32 as i8,
        5 as i32 as i8,
        4 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        3 as i32 as i8,
        3 as i32 as i8,
        8 as i32 as i8,
        4 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        2 as i32 as i8,
        2 as i32 as i8,
        2 as i32 as i8,
        6 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        14 as i32 as i8,
        12 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        14 as i32 as i8,
        1 as i32 as i8,
        1 as i32 as i8,
        1 as i32 as i8,
        5 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        1 as i32 as i8,
        1 as i32 as i8,
        1 as i32 as i8,
        5 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        1 as i32 as i8,
        1 as i32 as i8,
        1 as i32 as i8,
        5 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        3 as i32 as i8,
        3 as i32 as i8,
        3 as i32 as i8,
        7 as i32 as i8,
        12 as i32 as i8,
        12 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        14 as i32 as i8,
        12 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        14 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        13 as i32 as i8,
        12 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        13 as i32 as i8,
        12 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        13 as i32 as i8,
        12 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        13 as i32 as i8,
        12 as i32 as i8,
        11 as i32 as i8,
        11 as i32 as i8,
        11 as i32 as i8,
        11 as i32 as i8,
        7 as i32 as i8,
        12 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        10 as i32 as i8,
        14 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        13 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        13 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        13 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        13 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        9 as i32 as i8,
        13 as i32 as i8,
        11 as i32 as i8,
        11 as i32 as i8,
        11 as i32 as i8,
        11 as i32 as i8,
        11 as i32 as i8,
        15 as i32 as i8,
        0 as i32 as i8,
        0 as i32 as i8,
        0 as i32 as i8,
        0 as i32 as i8,
        0 as i32 as i8,
        0 as i32 as i8,
        8 as i32 as i8,
        8 as i32 as i8,
        8 as i32 as i8,
        8 as i32 as i8,
        8 as i32 as i8,
        8 as i32 as i8,
        7 as i32 as i8,
        7 as i32 as i8,
        7 as i32 as i8,
        7 as i32 as i8,
        7 as i32 as i8,
        7 as i32 as i8,
        15 as i32 as i8,
        15 as i32 as i8,
        15 as i32 as i8,
        15 as i32 as i8,
        15 as i32 as i8,
        15 as i32 as i8,
    ];
    return (unsafe { table[(c & 0xff as i32) as usize] }) as i32;
}
#[no_mangle]
pub extern "C" fn colour_byname(mut name: *const i8) -> i32 {
    static mut colours: [C2RustUnnamed_0; 578] = [
        {
            let mut init = C2RustUnnamed_0 {
                name: b"AliceBlue\0" as *const u8 as *const i8,
                c: 0xf0f8ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"AntiqueWhite\0" as *const u8 as *const i8,
                c: 0xfaebd7 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"AntiqueWhite1\0" as *const u8 as *const i8,
                c: 0xffefdb as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"AntiqueWhite2\0" as *const u8 as *const i8,
                c: 0xeedfcc as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"AntiqueWhite3\0" as *const u8 as *const i8,
                c: 0xcdc0b0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"AntiqueWhite4\0" as *const u8 as *const i8,
                c: 0x8b8378 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"BlanchedAlmond\0" as *const u8 as *const i8,
                c: 0xffebcd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"BlueViolet\0" as *const u8 as *const i8,
                c: 0x8a2be2 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"CadetBlue\0" as *const u8 as *const i8,
                c: 0x5f9ea0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"CadetBlue1\0" as *const u8 as *const i8,
                c: 0x98f5ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"CadetBlue2\0" as *const u8 as *const i8,
                c: 0x8ee5ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"CadetBlue3\0" as *const u8 as *const i8,
                c: 0x7ac5cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"CadetBlue4\0" as *const u8 as *const i8,
                c: 0x53868b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"CornflowerBlue\0" as *const u8 as *const i8,
                c: 0x6495ed as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkBlue\0" as *const u8 as *const i8,
                c: 0x8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkCyan\0" as *const u8 as *const i8,
                c: 0x8b8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGoldenrod\0" as *const u8 as *const i8,
                c: 0xb8860b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGoldenrod1\0" as *const u8 as *const i8,
                c: 0xffb90f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGoldenrod2\0" as *const u8 as *const i8,
                c: 0xeead0e as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGoldenrod3\0" as *const u8 as *const i8,
                c: 0xcd950c as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGoldenrod4\0" as *const u8 as *const i8,
                c: 0x8b6508 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGray\0" as *const u8 as *const i8,
                c: 0xa9a9a9 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGreen\0" as *const u8 as *const i8,
                c: 0x6400 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGrey\0" as *const u8 as *const i8,
                c: 0xa9a9a9 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkKhaki\0" as *const u8 as *const i8,
                c: 0xbdb76b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkMagenta\0" as *const u8 as *const i8,
                c: 0x8b008b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOliveGreen\0" as *const u8 as *const i8,
                c: 0x556b2f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOliveGreen1\0" as *const u8 as *const i8,
                c: 0xcaff70 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOliveGreen2\0" as *const u8 as *const i8,
                c: 0xbcee68 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOliveGreen3\0" as *const u8 as *const i8,
                c: 0xa2cd5a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOliveGreen4\0" as *const u8 as *const i8,
                c: 0x6e8b3d as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrange\0" as *const u8 as *const i8,
                c: 0xff8c00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrange1\0" as *const u8 as *const i8,
                c: 0xff7f00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrange2\0" as *const u8 as *const i8,
                c: 0xee7600 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrange3\0" as *const u8 as *const i8,
                c: 0xcd6600 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrange4\0" as *const u8 as *const i8,
                c: 0x8b4500 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrchid\0" as *const u8 as *const i8,
                c: 0x9932cc as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrchid1\0" as *const u8 as *const i8,
                c: 0xbf3eff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrchid2\0" as *const u8 as *const i8,
                c: 0xb23aee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrchid3\0" as *const u8 as *const i8,
                c: 0x9a32cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrchid4\0" as *const u8 as *const i8,
                c: 0x68228b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkRed\0" as *const u8 as *const i8,
                c: 0x8b0000 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSalmon\0" as *const u8 as *const i8,
                c: 0xe9967a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSeaGreen\0" as *const u8 as *const i8,
                c: 0x8fbc8f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSeaGreen1\0" as *const u8 as *const i8,
                c: 0xc1ffc1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSeaGreen2\0" as *const u8 as *const i8,
                c: 0xb4eeb4 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSeaGreen3\0" as *const u8 as *const i8,
                c: 0x9bcd9b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSeaGreen4\0" as *const u8 as *const i8,
                c: 0x698b69 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSlateBlue\0" as *const u8 as *const i8,
                c: 0x483d8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSlateGray\0" as *const u8 as *const i8,
                c: 0x2f4f4f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSlateGray1\0" as *const u8 as *const i8,
                c: 0x97ffff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSlateGray2\0" as *const u8 as *const i8,
                c: 0x8deeee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSlateGray3\0" as *const u8 as *const i8,
                c: 0x79cdcd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSlateGray4\0" as *const u8 as *const i8,
                c: 0x528b8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSlateGrey\0" as *const u8 as *const i8,
                c: 0x2f4f4f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkTurquoise\0" as *const u8 as *const i8,
                c: 0xced1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkViolet\0" as *const u8 as *const i8,
                c: 0x9400d3 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepPink\0" as *const u8 as *const i8,
                c: 0xff1493 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepPink1\0" as *const u8 as *const i8,
                c: 0xff1493 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepPink2\0" as *const u8 as *const i8,
                c: 0xee1289 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepPink3\0" as *const u8 as *const i8,
                c: 0xcd1076 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepPink4\0" as *const u8 as *const i8,
                c: 0x8b0a50 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepSkyBlue\0" as *const u8 as *const i8,
                c: 0xbfff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepSkyBlue1\0" as *const u8 as *const i8,
                c: 0xbfff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepSkyBlue2\0" as *const u8 as *const i8,
                c: 0xb2ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepSkyBlue3\0" as *const u8 as *const i8,
                c: 0x9acd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepSkyBlue4\0" as *const u8 as *const i8,
                c: 0x688b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DimGray\0" as *const u8 as *const i8,
                c: 0x696969 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DimGrey\0" as *const u8 as *const i8,
                c: 0x696969 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DodgerBlue\0" as *const u8 as *const i8,
                c: 0x1e90ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DodgerBlue1\0" as *const u8 as *const i8,
                c: 0x1e90ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DodgerBlue2\0" as *const u8 as *const i8,
                c: 0x1c86ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DodgerBlue3\0" as *const u8 as *const i8,
                c: 0x1874cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DodgerBlue4\0" as *const u8 as *const i8,
                c: 0x104e8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"FloralWhite\0" as *const u8 as *const i8,
                c: 0xfffaf0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"ForestGreen\0" as *const u8 as *const i8,
                c: 0x228b22 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"GhostWhite\0" as *const u8 as *const i8,
                c: 0xf8f8ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"GreenYellow\0" as *const u8 as *const i8,
                c: 0xadff2f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"HotPink\0" as *const u8 as *const i8,
                c: 0xff69b4 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"HotPink1\0" as *const u8 as *const i8,
                c: 0xff6eb4 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"HotPink2\0" as *const u8 as *const i8,
                c: 0xee6aa7 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"HotPink3\0" as *const u8 as *const i8,
                c: 0xcd6090 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"HotPink4\0" as *const u8 as *const i8,
                c: 0x8b3a62 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"IndianRed\0" as *const u8 as *const i8,
                c: 0xcd5c5c as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"IndianRed1\0" as *const u8 as *const i8,
                c: 0xff6a6a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"IndianRed2\0" as *const u8 as *const i8,
                c: 0xee6363 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"IndianRed3\0" as *const u8 as *const i8,
                c: 0xcd5555 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"IndianRed4\0" as *const u8 as *const i8,
                c: 0x8b3a3a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LavenderBlush\0" as *const u8 as *const i8,
                c: 0xfff0f5 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LavenderBlush1\0" as *const u8 as *const i8,
                c: 0xfff0f5 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LavenderBlush2\0" as *const u8 as *const i8,
                c: 0xeee0e5 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LavenderBlush3\0" as *const u8 as *const i8,
                c: 0xcdc1c5 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LavenderBlush4\0" as *const u8 as *const i8,
                c: 0x8b8386 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LawnGreen\0" as *const u8 as *const i8,
                c: 0x7cfc00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LemonChiffon\0" as *const u8 as *const i8,
                c: 0xfffacd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LemonChiffon1\0" as *const u8 as *const i8,
                c: 0xfffacd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LemonChiffon2\0" as *const u8 as *const i8,
                c: 0xeee9bf as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LemonChiffon3\0" as *const u8 as *const i8,
                c: 0xcdc9a5 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LemonChiffon4\0" as *const u8 as *const i8,
                c: 0x8b8970 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightBlue\0" as *const u8 as *const i8,
                c: 0xadd8e6 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightBlue1\0" as *const u8 as *const i8,
                c: 0xbfefff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightBlue2\0" as *const u8 as *const i8,
                c: 0xb2dfee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightBlue3\0" as *const u8 as *const i8,
                c: 0x9ac0cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightBlue4\0" as *const u8 as *const i8,
                c: 0x68838b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightCoral\0" as *const u8 as *const i8,
                c: 0xf08080 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightCyan\0" as *const u8 as *const i8,
                c: 0xe0ffff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightCyan1\0" as *const u8 as *const i8,
                c: 0xe0ffff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightCyan2\0" as *const u8 as *const i8,
                c: 0xd1eeee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightCyan3\0" as *const u8 as *const i8,
                c: 0xb4cdcd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightCyan4\0" as *const u8 as *const i8,
                c: 0x7a8b8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGoldenrod\0" as *const u8 as *const i8,
                c: 0xeedd82 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGoldenrod1\0" as *const u8 as *const i8,
                c: 0xffec8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGoldenrod2\0" as *const u8 as *const i8,
                c: 0xeedc82 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGoldenrod3\0" as *const u8 as *const i8,
                c: 0xcdbe70 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGoldenrod4\0" as *const u8 as *const i8,
                c: 0x8b814c as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGoldenrodYellow\0" as *const u8 as *const i8,
                c: 0xfafad2 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGray\0" as *const u8 as *const i8,
                c: 0xd3d3d3 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGreen\0" as *const u8 as *const i8,
                c: 0x90ee90 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGrey\0" as *const u8 as *const i8,
                c: 0xd3d3d3 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightPink\0" as *const u8 as *const i8,
                c: 0xffb6c1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightPink1\0" as *const u8 as *const i8,
                c: 0xffaeb9 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightPink2\0" as *const u8 as *const i8,
                c: 0xeea2ad as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightPink3\0" as *const u8 as *const i8,
                c: 0xcd8c95 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightPink4\0" as *const u8 as *const i8,
                c: 0x8b5f65 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSalmon\0" as *const u8 as *const i8,
                c: 0xffa07a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSalmon1\0" as *const u8 as *const i8,
                c: 0xffa07a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSalmon2\0" as *const u8 as *const i8,
                c: 0xee9572 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSalmon3\0" as *const u8 as *const i8,
                c: 0xcd8162 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSalmon4\0" as *const u8 as *const i8,
                c: 0x8b5742 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSeaGreen\0" as *const u8 as *const i8,
                c: 0x20b2aa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSkyBlue\0" as *const u8 as *const i8,
                c: 0x87cefa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSkyBlue1\0" as *const u8 as *const i8,
                c: 0xb0e2ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSkyBlue2\0" as *const u8 as *const i8,
                c: 0xa4d3ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSkyBlue3\0" as *const u8 as *const i8,
                c: 0x8db6cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSkyBlue4\0" as *const u8 as *const i8,
                c: 0x607b8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSlateBlue\0" as *const u8 as *const i8,
                c: 0x8470ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSlateGray\0" as *const u8 as *const i8,
                c: 0x778899 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSlateGrey\0" as *const u8 as *const i8,
                c: 0x778899 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSteelBlue\0" as *const u8 as *const i8,
                c: 0xb0c4de as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSteelBlue1\0" as *const u8 as *const i8,
                c: 0xcae1ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSteelBlue2\0" as *const u8 as *const i8,
                c: 0xbcd2ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSteelBlue3\0" as *const u8 as *const i8,
                c: 0xa2b5cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSteelBlue4\0" as *const u8 as *const i8,
                c: 0x6e7b8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightYellow\0" as *const u8 as *const i8,
                c: 0xffffe0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightYellow1\0" as *const u8 as *const i8,
                c: 0xffffe0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightYellow2\0" as *const u8 as *const i8,
                c: 0xeeeed1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightYellow3\0" as *const u8 as *const i8,
                c: 0xcdcdb4 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightYellow4\0" as *const u8 as *const i8,
                c: 0x8b8b7a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LimeGreen\0" as *const u8 as *const i8,
                c: 0x32cd32 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumAquamarine\0" as *const u8 as *const i8,
                c: 0x66cdaa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumBlue\0" as *const u8 as *const i8,
                c: 0xcd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumOrchid\0" as *const u8 as *const i8,
                c: 0xba55d3 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumOrchid1\0" as *const u8 as *const i8,
                c: 0xe066ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumOrchid2\0" as *const u8 as *const i8,
                c: 0xd15fee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumOrchid3\0" as *const u8 as *const i8,
                c: 0xb452cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumOrchid4\0" as *const u8 as *const i8,
                c: 0x7a378b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumPurple\0" as *const u8 as *const i8,
                c: 0x9370db as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumPurple1\0" as *const u8 as *const i8,
                c: 0xab82ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumPurple2\0" as *const u8 as *const i8,
                c: 0x9f79ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumPurple3\0" as *const u8 as *const i8,
                c: 0x8968cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumPurple4\0" as *const u8 as *const i8,
                c: 0x5d478b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumSeaGreen\0" as *const u8 as *const i8,
                c: 0x3cb371 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumSlateBlue\0" as *const u8 as *const i8,
                c: 0x7b68ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumSpringGreen\0" as *const u8 as *const i8,
                c: 0xfa9a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumTurquoise\0" as *const u8 as *const i8,
                c: 0x48d1cc as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumVioletRed\0" as *const u8 as *const i8,
                c: 0xc71585 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MidnightBlue\0" as *const u8 as *const i8,
                c: 0x191970 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MintCream\0" as *const u8 as *const i8,
                c: 0xf5fffa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MistyRose\0" as *const u8 as *const i8,
                c: 0xffe4e1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MistyRose1\0" as *const u8 as *const i8,
                c: 0xffe4e1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MistyRose2\0" as *const u8 as *const i8,
                c: 0xeed5d2 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MistyRose3\0" as *const u8 as *const i8,
                c: 0xcdb7b5 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MistyRose4\0" as *const u8 as *const i8,
                c: 0x8b7d7b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"NavajoWhite\0" as *const u8 as *const i8,
                c: 0xffdead as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"NavajoWhite1\0" as *const u8 as *const i8,
                c: 0xffdead as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"NavajoWhite2\0" as *const u8 as *const i8,
                c: 0xeecfa1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"NavajoWhite3\0" as *const u8 as *const i8,
                c: 0xcdb38b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"NavajoWhite4\0" as *const u8 as *const i8,
                c: 0x8b795e as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"NavyBlue\0" as *const u8 as *const i8,
                c: 0x80 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OldLace\0" as *const u8 as *const i8,
                c: 0xfdf5e6 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OliveDrab\0" as *const u8 as *const i8,
                c: 0x6b8e23 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OliveDrab1\0" as *const u8 as *const i8,
                c: 0xc0ff3e as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OliveDrab2\0" as *const u8 as *const i8,
                c: 0xb3ee3a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OliveDrab3\0" as *const u8 as *const i8,
                c: 0x9acd32 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OliveDrab4\0" as *const u8 as *const i8,
                c: 0x698b22 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OrangeRed\0" as *const u8 as *const i8,
                c: 0xff4500 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OrangeRed1\0" as *const u8 as *const i8,
                c: 0xff4500 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OrangeRed2\0" as *const u8 as *const i8,
                c: 0xee4000 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OrangeRed3\0" as *const u8 as *const i8,
                c: 0xcd3700 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OrangeRed4\0" as *const u8 as *const i8,
                c: 0x8b2500 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleGoldenrod\0" as *const u8 as *const i8,
                c: 0xeee8aa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleGreen\0" as *const u8 as *const i8,
                c: 0x98fb98 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleGreen1\0" as *const u8 as *const i8,
                c: 0x9aff9a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleGreen2\0" as *const u8 as *const i8,
                c: 0x90ee90 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleGreen3\0" as *const u8 as *const i8,
                c: 0x7ccd7c as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleGreen4\0" as *const u8 as *const i8,
                c: 0x548b54 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleTurquoise\0" as *const u8 as *const i8,
                c: 0xafeeee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleTurquoise1\0" as *const u8 as *const i8,
                c: 0xbbffff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleTurquoise2\0" as *const u8 as *const i8,
                c: 0xaeeeee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleTurquoise3\0" as *const u8 as *const i8,
                c: 0x96cdcd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleTurquoise4\0" as *const u8 as *const i8,
                c: 0x668b8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleVioletRed\0" as *const u8 as *const i8,
                c: 0xdb7093 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleVioletRed1\0" as *const u8 as *const i8,
                c: 0xff82ab as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleVioletRed2\0" as *const u8 as *const i8,
                c: 0xee799f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleVioletRed3\0" as *const u8 as *const i8,
                c: 0xcd6889 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleVioletRed4\0" as *const u8 as *const i8,
                c: 0x8b475d as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PapayaWhip\0" as *const u8 as *const i8,
                c: 0xffefd5 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PeachPuff\0" as *const u8 as *const i8,
                c: 0xffdab9 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PeachPuff1\0" as *const u8 as *const i8,
                c: 0xffdab9 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PeachPuff2\0" as *const u8 as *const i8,
                c: 0xeecbad as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PeachPuff3\0" as *const u8 as *const i8,
                c: 0xcdaf95 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PeachPuff4\0" as *const u8 as *const i8,
                c: 0x8b7765 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PowderBlue\0" as *const u8 as *const i8,
                c: 0xb0e0e6 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RebeccaPurple\0" as *const u8 as *const i8,
                c: 0x663399 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RosyBrown\0" as *const u8 as *const i8,
                c: 0xbc8f8f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RosyBrown1\0" as *const u8 as *const i8,
                c: 0xffc1c1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RosyBrown2\0" as *const u8 as *const i8,
                c: 0xeeb4b4 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RosyBrown3\0" as *const u8 as *const i8,
                c: 0xcd9b9b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RosyBrown4\0" as *const u8 as *const i8,
                c: 0x8b6969 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RoyalBlue\0" as *const u8 as *const i8,
                c: 0x4169e1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RoyalBlue1\0" as *const u8 as *const i8,
                c: 0x4876ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RoyalBlue2\0" as *const u8 as *const i8,
                c: 0x436eee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RoyalBlue3\0" as *const u8 as *const i8,
                c: 0x3a5fcd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RoyalBlue4\0" as *const u8 as *const i8,
                c: 0x27408b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SaddleBrown\0" as *const u8 as *const i8,
                c: 0x8b4513 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SandyBrown\0" as *const u8 as *const i8,
                c: 0xf4a460 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SeaGreen\0" as *const u8 as *const i8,
                c: 0x2e8b57 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SeaGreen1\0" as *const u8 as *const i8,
                c: 0x54ff9f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SeaGreen2\0" as *const u8 as *const i8,
                c: 0x4eee94 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SeaGreen3\0" as *const u8 as *const i8,
                c: 0x43cd80 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SeaGreen4\0" as *const u8 as *const i8,
                c: 0x2e8b57 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SkyBlue\0" as *const u8 as *const i8,
                c: 0x87ceeb as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SkyBlue1\0" as *const u8 as *const i8,
                c: 0x87ceff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SkyBlue2\0" as *const u8 as *const i8,
                c: 0x7ec0ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SkyBlue3\0" as *const u8 as *const i8,
                c: 0x6ca6cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SkyBlue4\0" as *const u8 as *const i8,
                c: 0x4a708b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateBlue\0" as *const u8 as *const i8,
                c: 0x6a5acd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateBlue1\0" as *const u8 as *const i8,
                c: 0x836fff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateBlue2\0" as *const u8 as *const i8,
                c: 0x7a67ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateBlue3\0" as *const u8 as *const i8,
                c: 0x6959cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateBlue4\0" as *const u8 as *const i8,
                c: 0x473c8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateGray\0" as *const u8 as *const i8,
                c: 0x708090 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateGray1\0" as *const u8 as *const i8,
                c: 0xc6e2ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateGray2\0" as *const u8 as *const i8,
                c: 0xb9d3ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateGray3\0" as *const u8 as *const i8,
                c: 0x9fb6cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateGray4\0" as *const u8 as *const i8,
                c: 0x6c7b8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateGrey\0" as *const u8 as *const i8,
                c: 0x708090 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SpringGreen\0" as *const u8 as *const i8,
                c: 0xff7f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SpringGreen1\0" as *const u8 as *const i8,
                c: 0xff7f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SpringGreen2\0" as *const u8 as *const i8,
                c: 0xee76 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SpringGreen3\0" as *const u8 as *const i8,
                c: 0xcd66 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SpringGreen4\0" as *const u8 as *const i8,
                c: 0x8b45 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SteelBlue\0" as *const u8 as *const i8,
                c: 0x4682b4 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SteelBlue1\0" as *const u8 as *const i8,
                c: 0x63b8ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SteelBlue2\0" as *const u8 as *const i8,
                c: 0x5cacee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SteelBlue3\0" as *const u8 as *const i8,
                c: 0x4f94cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SteelBlue4\0" as *const u8 as *const i8,
                c: 0x36648b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"VioletRed\0" as *const u8 as *const i8,
                c: 0xd02090 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"VioletRed1\0" as *const u8 as *const i8,
                c: 0xff3e96 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"VioletRed2\0" as *const u8 as *const i8,
                c: 0xee3a8c as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"VioletRed3\0" as *const u8 as *const i8,
                c: 0xcd3278 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"VioletRed4\0" as *const u8 as *const i8,
                c: 0x8b2252 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"WebGray\0" as *const u8 as *const i8,
                c: 0x808080 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"WebGreen\0" as *const u8 as *const i8,
                c: 0x8000 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"WebGrey\0" as *const u8 as *const i8,
                c: 0x808080 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"WebMaroon\0" as *const u8 as *const i8,
                c: 0x800000 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"WebPurple\0" as *const u8 as *const i8,
                c: 0x800080 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"WhiteSmoke\0" as *const u8 as *const i8,
                c: 0xf5f5f5 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"X11Gray\0" as *const u8 as *const i8,
                c: 0xbebebe as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"X11Green\0" as *const u8 as *const i8,
                c: 0xff00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"X11Grey\0" as *const u8 as *const i8,
                c: 0xbebebe as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"X11Maroon\0" as *const u8 as *const i8,
                c: 0xb03060 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"X11Purple\0" as *const u8 as *const i8,
                c: 0xa020f0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"YellowGreen\0" as *const u8 as *const i8,
                c: 0x9acd32 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"alice blue\0" as *const u8 as *const i8,
                c: 0xf0f8ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"antique white\0" as *const u8 as *const i8,
                c: 0xfaebd7 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"aqua\0" as *const u8 as *const i8,
                c: 0xffff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"aquamarine\0" as *const u8 as *const i8,
                c: 0x7fffd4 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"aquamarine1\0" as *const u8 as *const i8,
                c: 0x7fffd4 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"aquamarine2\0" as *const u8 as *const i8,
                c: 0x76eec6 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"aquamarine3\0" as *const u8 as *const i8,
                c: 0x66cdaa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"aquamarine4\0" as *const u8 as *const i8,
                c: 0x458b74 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"azure\0" as *const u8 as *const i8,
                c: 0xf0ffff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"azure1\0" as *const u8 as *const i8,
                c: 0xf0ffff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"azure2\0" as *const u8 as *const i8,
                c: 0xe0eeee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"azure3\0" as *const u8 as *const i8,
                c: 0xc1cdcd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"azure4\0" as *const u8 as *const i8,
                c: 0x838b8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"beige\0" as *const u8 as *const i8,
                c: 0xf5f5dc as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"bisque\0" as *const u8 as *const i8,
                c: 0xffe4c4 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"bisque1\0" as *const u8 as *const i8,
                c: 0xffe4c4 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"bisque2\0" as *const u8 as *const i8,
                c: 0xeed5b7 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"bisque3\0" as *const u8 as *const i8,
                c: 0xcdb79e as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"bisque4\0" as *const u8 as *const i8,
                c: 0x8b7d6b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"black\0" as *const u8 as *const i8,
                c: 0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"blanched almond\0" as *const u8 as *const i8,
                c: 0xffebcd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"blue violet\0" as *const u8 as *const i8,
                c: 0x8a2be2 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"blue\0" as *const u8 as *const i8,
                c: 0xff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"blue1\0" as *const u8 as *const i8,
                c: 0xff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"blue2\0" as *const u8 as *const i8,
                c: 0xee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"blue3\0" as *const u8 as *const i8,
                c: 0xcd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"blue4\0" as *const u8 as *const i8,
                c: 0x8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"brown\0" as *const u8 as *const i8,
                c: 0xa52a2a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"brown1\0" as *const u8 as *const i8,
                c: 0xff4040 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"brown2\0" as *const u8 as *const i8,
                c: 0xee3b3b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"brown3\0" as *const u8 as *const i8,
                c: 0xcd3333 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"brown4\0" as *const u8 as *const i8,
                c: 0x8b2323 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"burlywood\0" as *const u8 as *const i8,
                c: 0xdeb887 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"burlywood1\0" as *const u8 as *const i8,
                c: 0xffd39b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"burlywood2\0" as *const u8 as *const i8,
                c: 0xeec591 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"burlywood3\0" as *const u8 as *const i8,
                c: 0xcdaa7d as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"burlywood4\0" as *const u8 as *const i8,
                c: 0x8b7355 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cadet blue\0" as *const u8 as *const i8,
                c: 0x5f9ea0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chartreuse\0" as *const u8 as *const i8,
                c: 0x7fff00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chartreuse1\0" as *const u8 as *const i8,
                c: 0x7fff00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chartreuse2\0" as *const u8 as *const i8,
                c: 0x76ee00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chartreuse3\0" as *const u8 as *const i8,
                c: 0x66cd00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chartreuse4\0" as *const u8 as *const i8,
                c: 0x458b00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chocolate\0" as *const u8 as *const i8,
                c: 0xd2691e as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chocolate1\0" as *const u8 as *const i8,
                c: 0xff7f24 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chocolate2\0" as *const u8 as *const i8,
                c: 0xee7621 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chocolate3\0" as *const u8 as *const i8,
                c: 0xcd661d as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chocolate4\0" as *const u8 as *const i8,
                c: 0x8b4513 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"coral\0" as *const u8 as *const i8,
                c: 0xff7f50 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"coral1\0" as *const u8 as *const i8,
                c: 0xff7256 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"coral2\0" as *const u8 as *const i8,
                c: 0xee6a50 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"coral3\0" as *const u8 as *const i8,
                c: 0xcd5b45 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"coral4\0" as *const u8 as *const i8,
                c: 0x8b3e2f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cornflower blue\0" as *const u8 as *const i8,
                c: 0x6495ed as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cornsilk\0" as *const u8 as *const i8,
                c: 0xfff8dc as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cornsilk1\0" as *const u8 as *const i8,
                c: 0xfff8dc as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cornsilk2\0" as *const u8 as *const i8,
                c: 0xeee8cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cornsilk3\0" as *const u8 as *const i8,
                c: 0xcdc8b1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cornsilk4\0" as *const u8 as *const i8,
                c: 0x8b8878 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"crimson\0" as *const u8 as *const i8,
                c: 0xdc143c as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cyan\0" as *const u8 as *const i8,
                c: 0xffff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cyan1\0" as *const u8 as *const i8,
                c: 0xffff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cyan2\0" as *const u8 as *const i8,
                c: 0xeeee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cyan3\0" as *const u8 as *const i8,
                c: 0xcdcd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cyan4\0" as *const u8 as *const i8,
                c: 0x8b8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark blue\0" as *const u8 as *const i8,
                c: 0x8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark cyan\0" as *const u8 as *const i8,
                c: 0x8b8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark goldenrod\0" as *const u8 as *const i8,
                c: 0xb8860b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark gray\0" as *const u8 as *const i8,
                c: 0xa9a9a9 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark green\0" as *const u8 as *const i8,
                c: 0x6400 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark grey\0" as *const u8 as *const i8,
                c: 0xa9a9a9 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark khaki\0" as *const u8 as *const i8,
                c: 0xbdb76b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark magenta\0" as *const u8 as *const i8,
                c: 0x8b008b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark olive green\0" as *const u8 as *const i8,
                c: 0x556b2f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark orange\0" as *const u8 as *const i8,
                c: 0xff8c00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark orchid\0" as *const u8 as *const i8,
                c: 0x9932cc as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark red\0" as *const u8 as *const i8,
                c: 0x8b0000 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark salmon\0" as *const u8 as *const i8,
                c: 0xe9967a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark sea green\0" as *const u8 as *const i8,
                c: 0x8fbc8f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark slate blue\0" as *const u8 as *const i8,
                c: 0x483d8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark slate gray\0" as *const u8 as *const i8,
                c: 0x2f4f4f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark slate grey\0" as *const u8 as *const i8,
                c: 0x2f4f4f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark turquoise\0" as *const u8 as *const i8,
                c: 0xced1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark violet\0" as *const u8 as *const i8,
                c: 0x9400d3 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"deep pink\0" as *const u8 as *const i8,
                c: 0xff1493 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"deep sky blue\0" as *const u8 as *const i8,
                c: 0xbfff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dim gray\0" as *const u8 as *const i8,
                c: 0x696969 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dim grey\0" as *const u8 as *const i8,
                c: 0x696969 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dodger blue\0" as *const u8 as *const i8,
                c: 0x1e90ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"firebrick\0" as *const u8 as *const i8,
                c: 0xb22222 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"firebrick1\0" as *const u8 as *const i8,
                c: 0xff3030 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"firebrick2\0" as *const u8 as *const i8,
                c: 0xee2c2c as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"firebrick3\0" as *const u8 as *const i8,
                c: 0xcd2626 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"firebrick4\0" as *const u8 as *const i8,
                c: 0x8b1a1a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"floral white\0" as *const u8 as *const i8,
                c: 0xfffaf0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"forest green\0" as *const u8 as *const i8,
                c: 0x228b22 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"fuchsia\0" as *const u8 as *const i8,
                c: 0xff00ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"gainsboro\0" as *const u8 as *const i8,
                c: 0xdcdcdc as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"ghost white\0" as *const u8 as *const i8,
                c: 0xf8f8ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"gold\0" as *const u8 as *const i8,
                c: 0xffd700 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"gold1\0" as *const u8 as *const i8,
                c: 0xffd700 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"gold2\0" as *const u8 as *const i8,
                c: 0xeec900 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"gold3\0" as *const u8 as *const i8,
                c: 0xcdad00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"gold4\0" as *const u8 as *const i8,
                c: 0x8b7500 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"goldenrod\0" as *const u8 as *const i8,
                c: 0xdaa520 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"goldenrod1\0" as *const u8 as *const i8,
                c: 0xffc125 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"goldenrod2\0" as *const u8 as *const i8,
                c: 0xeeb422 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"goldenrod3\0" as *const u8 as *const i8,
                c: 0xcd9b1d as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"goldenrod4\0" as *const u8 as *const i8,
                c: 0x8b6914 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"green yellow\0" as *const u8 as *const i8,
                c: 0xadff2f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"green\0" as *const u8 as *const i8,
                c: 0xff00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"green1\0" as *const u8 as *const i8,
                c: 0xff00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"green2\0" as *const u8 as *const i8,
                c: 0xee00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"green3\0" as *const u8 as *const i8,
                c: 0xcd00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"green4\0" as *const u8 as *const i8,
                c: 0x8b00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"honeydew\0" as *const u8 as *const i8,
                c: 0xf0fff0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"honeydew1\0" as *const u8 as *const i8,
                c: 0xf0fff0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"honeydew2\0" as *const u8 as *const i8,
                c: 0xe0eee0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"honeydew3\0" as *const u8 as *const i8,
                c: 0xc1cdc1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"honeydew4\0" as *const u8 as *const i8,
                c: 0x838b83 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"hot pink\0" as *const u8 as *const i8,
                c: 0xff69b4 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"indian red\0" as *const u8 as *const i8,
                c: 0xcd5c5c as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"indigo\0" as *const u8 as *const i8,
                c: 0x4b0082 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"ivory\0" as *const u8 as *const i8,
                c: 0xfffff0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"ivory1\0" as *const u8 as *const i8,
                c: 0xfffff0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"ivory2\0" as *const u8 as *const i8,
                c: 0xeeeee0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"ivory3\0" as *const u8 as *const i8,
                c: 0xcdcdc1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"ivory4\0" as *const u8 as *const i8,
                c: 0x8b8b83 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"khaki\0" as *const u8 as *const i8,
                c: 0xf0e68c as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"khaki1\0" as *const u8 as *const i8,
                c: 0xfff68f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"khaki2\0" as *const u8 as *const i8,
                c: 0xeee685 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"khaki3\0" as *const u8 as *const i8,
                c: 0xcdc673 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"khaki4\0" as *const u8 as *const i8,
                c: 0x8b864e as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"lavender blush\0" as *const u8 as *const i8,
                c: 0xfff0f5 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"lavender\0" as *const u8 as *const i8,
                c: 0xe6e6fa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"lawn green\0" as *const u8 as *const i8,
                c: 0x7cfc00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"lemon chiffon\0" as *const u8 as *const i8,
                c: 0xfffacd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light blue\0" as *const u8 as *const i8,
                c: 0xadd8e6 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light coral\0" as *const u8 as *const i8,
                c: 0xf08080 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light cyan\0" as *const u8 as *const i8,
                c: 0xe0ffff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light goldenrod yellow\0" as *const u8 as *const i8,
                c: 0xfafad2 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light goldenrod\0" as *const u8 as *const i8,
                c: 0xeedd82 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light gray\0" as *const u8 as *const i8,
                c: 0xd3d3d3 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light green\0" as *const u8 as *const i8,
                c: 0x90ee90 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light grey\0" as *const u8 as *const i8,
                c: 0xd3d3d3 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light pink\0" as *const u8 as *const i8,
                c: 0xffb6c1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light salmon\0" as *const u8 as *const i8,
                c: 0xffa07a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light sea green\0" as *const u8 as *const i8,
                c: 0x20b2aa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light sky blue\0" as *const u8 as *const i8,
                c: 0x87cefa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light slate blue\0" as *const u8 as *const i8,
                c: 0x8470ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light slate gray\0" as *const u8 as *const i8,
                c: 0x778899 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light slate grey\0" as *const u8 as *const i8,
                c: 0x778899 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light steel blue\0" as *const u8 as *const i8,
                c: 0xb0c4de as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light yellow\0" as *const u8 as *const i8,
                c: 0xffffe0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"lime green\0" as *const u8 as *const i8,
                c: 0x32cd32 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"lime\0" as *const u8 as *const i8,
                c: 0xff00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"linen\0" as *const u8 as *const i8,
                c: 0xfaf0e6 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"magenta\0" as *const u8 as *const i8,
                c: 0xff00ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"magenta1\0" as *const u8 as *const i8,
                c: 0xff00ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"magenta2\0" as *const u8 as *const i8,
                c: 0xee00ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"magenta3\0" as *const u8 as *const i8,
                c: 0xcd00cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"magenta4\0" as *const u8 as *const i8,
                c: 0x8b008b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"maroon\0" as *const u8 as *const i8,
                c: 0xb03060 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"maroon1\0" as *const u8 as *const i8,
                c: 0xff34b3 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"maroon2\0" as *const u8 as *const i8,
                c: 0xee30a7 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"maroon3\0" as *const u8 as *const i8,
                c: 0xcd2990 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"maroon4\0" as *const u8 as *const i8,
                c: 0x8b1c62 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium aquamarine\0" as *const u8 as *const i8,
                c: 0x66cdaa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium blue\0" as *const u8 as *const i8,
                c: 0xcd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium orchid\0" as *const u8 as *const i8,
                c: 0xba55d3 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium purple\0" as *const u8 as *const i8,
                c: 0x9370db as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium sea green\0" as *const u8 as *const i8,
                c: 0x3cb371 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium slate blue\0" as *const u8 as *const i8,
                c: 0x7b68ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium spring green\0" as *const u8 as *const i8,
                c: 0xfa9a as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium turquoise\0" as *const u8 as *const i8,
                c: 0x48d1cc as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium violet red\0" as *const u8 as *const i8,
                c: 0xc71585 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"midnight blue\0" as *const u8 as *const i8,
                c: 0x191970 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"mint cream\0" as *const u8 as *const i8,
                c: 0xf5fffa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"misty rose\0" as *const u8 as *const i8,
                c: 0xffe4e1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"moccasin\0" as *const u8 as *const i8,
                c: 0xffe4b5 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"navajo white\0" as *const u8 as *const i8,
                c: 0xffdead as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"navy blue\0" as *const u8 as *const i8,
                c: 0x80 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"navy\0" as *const u8 as *const i8,
                c: 0x80 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"old lace\0" as *const u8 as *const i8,
                c: 0xfdf5e6 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"olive drab\0" as *const u8 as *const i8,
                c: 0x6b8e23 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"olive\0" as *const u8 as *const i8,
                c: 0x808000 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orange red\0" as *const u8 as *const i8,
                c: 0xff4500 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orange\0" as *const u8 as *const i8,
                c: 0xffa500 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orange1\0" as *const u8 as *const i8,
                c: 0xffa500 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orange2\0" as *const u8 as *const i8,
                c: 0xee9a00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orange3\0" as *const u8 as *const i8,
                c: 0xcd8500 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orange4\0" as *const u8 as *const i8,
                c: 0x8b5a00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orchid\0" as *const u8 as *const i8,
                c: 0xda70d6 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orchid1\0" as *const u8 as *const i8,
                c: 0xff83fa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orchid2\0" as *const u8 as *const i8,
                c: 0xee7ae9 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orchid3\0" as *const u8 as *const i8,
                c: 0xcd69c9 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orchid4\0" as *const u8 as *const i8,
                c: 0x8b4789 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pale goldenrod\0" as *const u8 as *const i8,
                c: 0xeee8aa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pale green\0" as *const u8 as *const i8,
                c: 0x98fb98 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pale turquoise\0" as *const u8 as *const i8,
                c: 0xafeeee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pale violet red\0" as *const u8 as *const i8,
                c: 0xdb7093 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"papaya whip\0" as *const u8 as *const i8,
                c: 0xffefd5 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"peach puff\0" as *const u8 as *const i8,
                c: 0xffdab9 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"peru\0" as *const u8 as *const i8,
                c: 0xcd853f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pink\0" as *const u8 as *const i8,
                c: 0xffc0cb as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pink1\0" as *const u8 as *const i8,
                c: 0xffb5c5 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pink2\0" as *const u8 as *const i8,
                c: 0xeea9b8 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pink3\0" as *const u8 as *const i8,
                c: 0xcd919e as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pink4\0" as *const u8 as *const i8,
                c: 0x8b636c as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"plum\0" as *const u8 as *const i8,
                c: 0xdda0dd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"plum1\0" as *const u8 as *const i8,
                c: 0xffbbff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"plum2\0" as *const u8 as *const i8,
                c: 0xeeaeee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"plum3\0" as *const u8 as *const i8,
                c: 0xcd96cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"plum4\0" as *const u8 as *const i8,
                c: 0x8b668b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"powder blue\0" as *const u8 as *const i8,
                c: 0xb0e0e6 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"purple\0" as *const u8 as *const i8,
                c: 0xa020f0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"purple1\0" as *const u8 as *const i8,
                c: 0x9b30ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"purple2\0" as *const u8 as *const i8,
                c: 0x912cee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"purple3\0" as *const u8 as *const i8,
                c: 0x7d26cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"purple4\0" as *const u8 as *const i8,
                c: 0x551a8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"rebecca purple\0" as *const u8 as *const i8,
                c: 0x663399 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"red\0" as *const u8 as *const i8,
                c: 0xff0000 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"red1\0" as *const u8 as *const i8,
                c: 0xff0000 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"red2\0" as *const u8 as *const i8,
                c: 0xee0000 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"red3\0" as *const u8 as *const i8,
                c: 0xcd0000 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"red4\0" as *const u8 as *const i8,
                c: 0x8b0000 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"rosy brown\0" as *const u8 as *const i8,
                c: 0xbc8f8f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"royal blue\0" as *const u8 as *const i8,
                c: 0x4169e1 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"saddle brown\0" as *const u8 as *const i8,
                c: 0x8b4513 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"salmon\0" as *const u8 as *const i8,
                c: 0xfa8072 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"salmon1\0" as *const u8 as *const i8,
                c: 0xff8c69 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"salmon2\0" as *const u8 as *const i8,
                c: 0xee8262 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"salmon3\0" as *const u8 as *const i8,
                c: 0xcd7054 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"salmon4\0" as *const u8 as *const i8,
                c: 0x8b4c39 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sandy brown\0" as *const u8 as *const i8,
                c: 0xf4a460 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sea green\0" as *const u8 as *const i8,
                c: 0x2e8b57 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"seashell\0" as *const u8 as *const i8,
                c: 0xfff5ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"seashell1\0" as *const u8 as *const i8,
                c: 0xfff5ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"seashell2\0" as *const u8 as *const i8,
                c: 0xeee5de as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"seashell3\0" as *const u8 as *const i8,
                c: 0xcdc5bf as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"seashell4\0" as *const u8 as *const i8,
                c: 0x8b8682 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sienna\0" as *const u8 as *const i8,
                c: 0xa0522d as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sienna1\0" as *const u8 as *const i8,
                c: 0xff8247 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sienna2\0" as *const u8 as *const i8,
                c: 0xee7942 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sienna3\0" as *const u8 as *const i8,
                c: 0xcd6839 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sienna4\0" as *const u8 as *const i8,
                c: 0x8b4726 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"silver\0" as *const u8 as *const i8,
                c: 0xc0c0c0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sky blue\0" as *const u8 as *const i8,
                c: 0x87ceeb as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"slate blue\0" as *const u8 as *const i8,
                c: 0x6a5acd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"slate gray\0" as *const u8 as *const i8,
                c: 0x708090 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"slate grey\0" as *const u8 as *const i8,
                c: 0x708090 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"snow\0" as *const u8 as *const i8,
                c: 0xfffafa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"snow1\0" as *const u8 as *const i8,
                c: 0xfffafa as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"snow2\0" as *const u8 as *const i8,
                c: 0xeee9e9 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"snow3\0" as *const u8 as *const i8,
                c: 0xcdc9c9 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"snow4\0" as *const u8 as *const i8,
                c: 0x8b8989 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"spring green\0" as *const u8 as *const i8,
                c: 0xff7f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"steel blue\0" as *const u8 as *const i8,
                c: 0x4682b4 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tan\0" as *const u8 as *const i8,
                c: 0xd2b48c as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tan1\0" as *const u8 as *const i8,
                c: 0xffa54f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tan2\0" as *const u8 as *const i8,
                c: 0xee9a49 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tan3\0" as *const u8 as *const i8,
                c: 0xcd853f as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tan4\0" as *const u8 as *const i8,
                c: 0x8b5a2b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"teal\0" as *const u8 as *const i8,
                c: 0x8080 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"thistle\0" as *const u8 as *const i8,
                c: 0xd8bfd8 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"thistle1\0" as *const u8 as *const i8,
                c: 0xffe1ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"thistle2\0" as *const u8 as *const i8,
                c: 0xeed2ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"thistle3\0" as *const u8 as *const i8,
                c: 0xcdb5cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"thistle4\0" as *const u8 as *const i8,
                c: 0x8b7b8b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tomato\0" as *const u8 as *const i8,
                c: 0xff6347 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tomato1\0" as *const u8 as *const i8,
                c: 0xff6347 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tomato2\0" as *const u8 as *const i8,
                c: 0xee5c42 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tomato3\0" as *const u8 as *const i8,
                c: 0xcd4f39 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tomato4\0" as *const u8 as *const i8,
                c: 0x8b3626 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"turquoise\0" as *const u8 as *const i8,
                c: 0x40e0d0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"turquoise1\0" as *const u8 as *const i8,
                c: 0xf5ff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"turquoise2\0" as *const u8 as *const i8,
                c: 0xe5ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"turquoise3\0" as *const u8 as *const i8,
                c: 0xc5cd as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"turquoise4\0" as *const u8 as *const i8,
                c: 0x868b as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"violet red\0" as *const u8 as *const i8,
                c: 0xd02090 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"violet\0" as *const u8 as *const i8,
                c: 0xee82ee as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"web gray\0" as *const u8 as *const i8,
                c: 0x808080 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"web green\0" as *const u8 as *const i8,
                c: 0x8000 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"web grey\0" as *const u8 as *const i8,
                c: 0x808080 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"web maroon\0" as *const u8 as *const i8,
                c: 0x800000 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"web purple\0" as *const u8 as *const i8,
                c: 0x800080 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"wheat\0" as *const u8 as *const i8,
                c: 0xf5deb3 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"wheat1\0" as *const u8 as *const i8,
                c: 0xffe7ba as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"wheat2\0" as *const u8 as *const i8,
                c: 0xeed8ae as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"wheat3\0" as *const u8 as *const i8,
                c: 0xcdba96 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"wheat4\0" as *const u8 as *const i8,
                c: 0x8b7e66 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"white smoke\0" as *const u8 as *const i8,
                c: 0xf5f5f5 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"white\0" as *const u8 as *const i8,
                c: 0xffffff as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"x11 gray\0" as *const u8 as *const i8,
                c: 0xbebebe as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"x11 green\0" as *const u8 as *const i8,
                c: 0xff00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"x11 grey\0" as *const u8 as *const i8,
                c: 0xbebebe as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"x11 maroon\0" as *const u8 as *const i8,
                c: 0xb03060 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"x11 purple\0" as *const u8 as *const i8,
                c: 0xa020f0 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"yellow green\0" as *const u8 as *const i8,
                c: 0x9acd32 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"yellow\0" as *const u8 as *const i8,
                c: 0xffff00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"yellow1\0" as *const u8 as *const i8,
                c: 0xffff00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"yellow2\0" as *const u8 as *const i8,
                c: 0xeeee00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"yellow3\0" as *const u8 as *const i8,
                c: 0xcdcd00 as i32,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"yellow4\0" as *const u8 as *const i8,
                c: 0x8b8b00 as i32,
            };
            init
        },
    ];
    let mut i: u_int = 0;
    let mut c: i32 = 0;
    let mut errstr: *const i8 = std::ptr::null::<i8>();
    if (unsafe { strncmp(name, b"grey\0" as *const u8 as *const i8, 4 as i32 as u64) }) == 0 as i32
        || (unsafe { strncmp(name, b"gray\0" as *const u8 as *const i8, 4 as i32 as u64) })
            == 0 as i32
    {
        if (unsafe { *name.offset(4 as i32 as isize) }) as i32 == '\0' as i32 {
            return 0xbebebe as i32 | 0x2000000 as i32;
        }
        c = (unsafe {
            strtonum(
                name.offset(4 as i32 as isize),
                0 as i32 as i64,
                100 as i32 as i64,
                &mut errstr,
            )
        }) as i32;
        if !errstr.is_null() {
            return -(1 as i32);
        }
        c = (unsafe { round(2.55f64 * c as f64) }) as i32;
        if c < 0 as i32 || c > 255 as i32 {
            return -(1 as i32);
        }
        return colour_join_rgb(c as u_char, c as u_char, c as u_char);
    }
    i = 0 as i32 as u_int;
    while (i as u64)
        < (::core::mem::size_of::<[C2RustUnnamed_0; 578]>() as u64)
            .wrapping_div(::core::mem::size_of::<C2RustUnnamed_0>() as u64)
    {
        if (unsafe { strcasecmp(colours[i as usize].name, name) }) == 0 as i32 {
            return (unsafe { colours[i as usize].c }) | 0x2000000 as i32;
        }
        i = i.wrapping_add(1);
    }
    return -(1 as i32);
}
#[no_mangle]
pub extern "C" fn colour_parseX11(mut p: *const i8) -> i32 {
    let mut c: f64 = 0.;
    let mut m: f64 = 0.;
    let mut y: f64 = 0.;
    let mut k: f64 = 0 as i32 as f64;
    let mut r: u_int = 0;
    let mut g: u_int = 0;
    let mut b: u_int = 0;
    let mut len: size_t = unsafe { strlen(p) };
    let mut colour: i32 = -(1 as i32);
    let mut copy: *mut i8 = std::ptr::null_mut::<i8>();
    if len == 12 as i32 as u64
        && (unsafe {
            sscanf(
                p,
                b"rgb:%02x/%02x/%02x\0" as *const u8 as *const i8,
                &mut r as *mut u_int,
                &mut g as *mut u_int,
                &mut b as *mut u_int,
            )
        }) == 3 as i32
        || len == 7 as i32 as u64
            && (unsafe {
                sscanf(
                    p,
                    b"#%02x%02x%02x\0" as *const u8 as *const i8,
                    &mut r as *mut u_int,
                    &mut g as *mut u_int,
                    &mut b as *mut u_int,
                )
            }) == 3 as i32
        || (unsafe {
            sscanf(
                p,
                b"%d,%d,%d\0" as *const u8 as *const i8,
                &mut r as *mut u_int,
                &mut g as *mut u_int,
                &mut b as *mut u_int,
            )
        }) == 3 as i32
    {
        colour = colour_join_rgb(r as u_char, g as u_char, b as u_char);
    } else if len == 18 as i32 as u64
        && (unsafe {
            sscanf(
                p,
                b"rgb:%04x/%04x/%04x\0" as *const u8 as *const i8,
                &mut r as *mut u_int,
                &mut g as *mut u_int,
                &mut b as *mut u_int,
            )
        }) == 3 as i32
        || len == 13 as i32 as u64
            && (unsafe {
                sscanf(
                    p,
                    b"#%04x%04x%04x\0" as *const u8 as *const i8,
                    &mut r as *mut u_int,
                    &mut g as *mut u_int,
                    &mut b as *mut u_int,
                )
            }) == 3 as i32
    {
        colour = colour_join_rgb(
            (r >> 8 as i32) as u_char,
            (g >> 8 as i32) as u_char,
            (b >> 8 as i32) as u_char,
        );
    } else if ((unsafe {
        sscanf(
            p,
            b"cmyk:%lf/%lf/%lf/%lf\0" as *const u8 as *const i8,
            &mut c as *mut f64,
            &mut m as *mut f64,
            &mut y as *mut f64,
            &mut k as *mut f64,
        )
    }) == 4 as i32
        || (unsafe {
            sscanf(
                p,
                b"cmy:%lf/%lf/%lf\0" as *const u8 as *const i8,
                &mut c as *mut f64,
                &mut m as *mut f64,
                &mut y as *mut f64,
            )
        }) == 3 as i32)
        && c >= 0 as i32 as f64
        && c <= 1 as i32 as f64
        && m >= 0 as i32 as f64
        && m <= 1 as i32 as f64
        && y >= 0 as i32 as f64
        && y <= 1 as i32 as f64
        && k >= 0 as i32 as f64
        && k <= 1 as i32 as f64
    {
        colour = colour_join_rgb(
            ((1 as i32 as f64 - c) * (1 as i32 as f64 - k) * 255 as i32 as f64) as u_char,
            ((1 as i32 as f64 - m) * (1 as i32 as f64 - k) * 255 as i32 as f64) as u_char,
            ((1 as i32 as f64 - y) * (1 as i32 as f64 - k) * 255 as i32 as f64) as u_char,
        );
    } else {
        while len != 0 as i32 as u64 && (unsafe { *p }) as i32 == ' ' as i32 {
            p = unsafe { p.offset(1) };
            len = len.wrapping_sub(1);
        }
        while len != 0 as i32 as u64
            && (unsafe { *p.offset(len.wrapping_sub(1 as i32 as u64) as isize) }) as i32
                == ' ' as i32
        {
            len = len.wrapping_sub(1);
        }
        copy = unsafe { xstrndup(p, len) };
        colour = colour_byname(copy);
        (unsafe { free(copy as *mut libc::c_void) });
    }
    (unsafe {
        log_debug(
            b"%s: %s = %s\0" as *const u8 as *const i8,
            (*::core::mem::transmute::<&[u8; 16], &[i8; 16]>(b"colour_parseX11\0")).as_ptr(),
            p,
            colour_tostring(colour),
        )
    });
    return colour;
}
#[no_mangle]
pub extern "C" fn colour_palette_init(mut p: *mut colour_palette) {
    (unsafe { (*p).fg = 8 as i32 });
    (unsafe { (*p).bg = 8 as i32 });
    (unsafe { (*p).palette = std::ptr::null_mut::<i32>() });
    (unsafe { (*p).default_palette = std::ptr::null_mut::<i32>() });
}
#[no_mangle]
pub extern "C" fn colour_palette_clear(mut p: *mut colour_palette) {
    if !p.is_null() {
        (unsafe { (*p).fg = 8 as i32 });
        (unsafe { (*p).bg = 8 as i32 });
        (unsafe { free((*p).palette as *mut libc::c_void) });
        (unsafe { (*p).palette = std::ptr::null_mut::<i32>() });
    }
}
#[no_mangle]
pub extern "C" fn colour_palette_free(mut p: *mut colour_palette) {
    if !p.is_null() {
        (unsafe { free((*p).palette as *mut libc::c_void) });
        (unsafe { (*p).palette = std::ptr::null_mut::<i32>() });
        (unsafe { free((*p).default_palette as *mut libc::c_void) });
        (unsafe { (*p).default_palette = std::ptr::null_mut::<i32>() });
    }
}
#[no_mangle]
pub extern "C" fn colour_palette_get(mut p: *mut colour_palette, mut c: i32) -> i32 {
    if p.is_null() {
        return -(1 as i32);
    }
    if c >= 90 as i32 && c <= 97 as i32 {
        c = 8 as i32 + c - 90 as i32;
    } else if c & 0x1000000 as i32 != 0 {
        c &= !(0x1000000 as i32);
    } else if c >= 8 as i32 {
        return -(1 as i32);
    }
    if !(unsafe { (*p).palette }).is_null()
        && (unsafe { *((*p).palette).offset(c as isize) }) != -(1 as i32)
    {
        return unsafe { *((*p).palette).offset(c as isize) };
    }
    if !(unsafe { (*p).default_palette }).is_null()
        && (unsafe { *((*p).default_palette).offset(c as isize) }) != -(1 as i32)
    {
        return unsafe { *((*p).default_palette).offset(c as isize) };
    }
    return -(1 as i32);
}
#[no_mangle]
pub extern "C" fn colour_palette_set(mut p: *mut colour_palette, mut n: i32, mut c: i32) -> i32 {
    let mut i: u_int = 0;
    if p.is_null() || n > 255 as i32 {
        return 0 as i32;
    }
    if c == -(1 as i32) && (unsafe { (*p).palette }).is_null() {
        return 0 as i32;
    }
    if c != -(1 as i32) && (unsafe { (*p).palette }).is_null() {
        if (unsafe { (*p).palette }).is_null() {
            (unsafe {
                (*p).palette =
                    xcalloc(256 as i32 as size_t, ::core::mem::size_of::<i32>() as u64) as *mut i32
            });
        }
        i = 0 as i32 as u_int;
        while i < 256 as i32 as u32 {
            (unsafe { *((*p).palette).offset(i as isize) = -(1 as i32) });
            i = i.wrapping_add(1);
        }
    }
    (unsafe { *((*p).palette).offset(n as isize) = c });
    return 1 as i32;
}
#[no_mangle]
pub extern "C" fn colour_palette_from_option(mut p: *mut colour_palette, mut oo: *mut options) {
    let mut o: *mut options_entry = std::ptr::null_mut::<options_entry>();
    let mut a: *mut options_array_item = std::ptr::null_mut::<options_array_item>();
    let mut i: u_int = 0;
    let mut n: u_int = 0;
    let mut c: i32 = 0;
    if p.is_null() {
        return;
    }
    o = unsafe { options_get(oo, b"pane-colours\0" as *const u8 as *const i8) };
    a = unsafe { options_array_first(o) };
    if a.is_null() {
        if !(unsafe { (*p).default_palette }).is_null() {
            (unsafe { free((*p).default_palette as *mut libc::c_void) });
            (unsafe { (*p).default_palette = std::ptr::null_mut::<i32>() });
        }
        return;
    }
    if (unsafe { (*p).default_palette }).is_null() {
        (unsafe {
            (*p).default_palette =
                xcalloc(256 as i32 as size_t, ::core::mem::size_of::<i32>() as u64) as *mut i32
        });
    }
    i = 0 as i32 as u_int;
    while i < 256 as i32 as u32 {
        (unsafe { *((*p).default_palette).offset(i as isize) = -(1 as i32) });
        i = i.wrapping_add(1);
    }
    while !a.is_null() {
        n = unsafe { options_array_item_index(a) };
        if n < 256 as i32 as u32 {
            c = (unsafe { (*options_array_item_value(a)).number }) as i32;
            (unsafe { *((*p).default_palette).offset(n as isize) = c });
        }
        a = unsafe { options_array_next(a) };
    }
}
